home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / win1 / gcatwpw1.zip / SETUP.BAT < prev    next >
DOS Batch File  |  1993-03-15  |  2KB  |  68 lines

  1. @REM SETUP.BAT; Graphcat/Windows 1.0
  2. @REM Copyright 1993 Jerry Stern--All Rights Reserved, 3/93
  3. @echo off
  4. cls
  5. if not exist graphwin.doc goto baddir
  6. if not exist graphcat.dll goto baddir
  7. if not exist index.wcm goto baddir
  8. if "%1"=="" goto info
  9. if "%2"=="" goto info
  10. if not exist %2\*.* goto nomac
  11. if not exist %1\*.* goto new
  12. ECHO Upgrade Installation to Windows version
  13. ECHO Your DOS version graphics and docs will not be replaced.
  14. goto more
  15. :new
  16. ECHO New Installation of version 1.0
  17. :more
  18. ECHO ...
  19. ECHO Files for GRAPHCAT 1.0 for WP/Windows will now be copied:
  20. ECHO Macros and the GRAPHCAT.DLL file will be copied to %2
  21. ECHO A partial set of the instructions and graphics will be copied
  22. ECHO to the directory %1.  You will need about 230K of free space.
  23. ECHO ...
  24. ECHO Press any key to proceed with installation, or Control-C to stop now.
  25. pause > nul
  26. copy *.wcm %2
  27. copy graphcat.dll %2
  28. if not exist %1\*.* md %1
  29. copy *.doc %1\*.*
  30. copy *.wpg %1\*.*
  31. copy readme.now %1\*.*
  32. copy printman.bat %1\*.*
  33. copy fileindx.* %1\*.*
  34. copy name.ndx %1\*.*
  35. ECHO Done...
  36. ECHO If you haven't already,
  37. ECHO run PRINTMAN.BAT for instructions on printing the manual.
  38. goto end
  39. :nomac
  40. ECHO Graphcat/Windows 1.0 Installation
  41. ECHO The directory that you have chosen to copy the macros and DLL file to
  42. ECHO is empty or doesn't exist. Please check the name, and try again.
  43. goto end
  44. :baddir
  45. ECHO Graphcat/Windows 1.0 Installation
  46. ECHO You must start this installation by logging to the drive and directory
  47. ECHO where the files are currently located. When you run SETUP from that
  48. ECHO directory, it will help you find the correct startup command to
  49. ECHO install your software.
  50. goto end
  51. :info
  52. ECHO Graphcat/Windows 1.0 Installation
  53. ECHO Start SETUP.BAT with the new directory name to make for
  54. ECHO storing Graphcat instructions and graphics, and the name
  55. ECHO of the macro directory used by WordPerfect, usually
  56. ECHO c:\wpwin\macros or c:\wpwin.
  57. ECHO ...
  58. ECHO If you don't know where WP/WIN keeps your macros,
  59. ECHO choose File, Preferences, Location of Files, and write
  60. ECHO down the entry under "Macros/Keyboards/Button Bars" and
  61. ECHO enter it from the DOS prompt. (Press Escape to return to
  62. ECHO the document screen.)
  63. ECHO ...
  64. ECHO For example: 
  65. ECHO SETUP c:\graphcat c:\wpwin\macros
  66. ECHO (Copies package to c:\graphcat, using c:\wpwin\macros for macros.)
  67. :end
  68. PAUSE